﻿using MediatR;
using U.B.DoMain;
using U.B.ErrorCode;

namespace U.B.ReadApi.Command
{
    public class GetLeaveCommand:IRequest<Apipage<LeaveApp>>
    {
        /// <summary>
        /// 登陆人
        /// </summary>
        public int UserId { get; set; }
        /// <summary>
        /// 部门Id
        /// </summary>

        public int DepartmentId { get; set; }

        /// <summary>
        /// 姓名
        /// </summary>
        public string? LeaveName { get; set; }
        /// <summary>
        /// 开始时间
        /// </summary>
        public string? StartTime { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public string? EndTime { get; set; }
        /// <summary>
        /// 审批状态
        /// </summary>
        public int StatusId { get; set; }
        /// <summary>
        /// 页码
        /// </summary>
        public int PageIndex { get; set; }
        /// <summary>
        /// 页容量
        /// </summary>
        public int PageSize { get; set; }

    }
}
